﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DirectSell.Model.User
{
    /// <summary>
    /// 修改密码模型类
    /// </summary>
    public class ModifyPassword
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserCode { get; set; }
        /// <summary>
        /// 旧密码
        /// </summary>
        public string OldPassword { get; set; }
        /// <summary>
        /// 新密码
        /// </summary>
        public string NewPassword { get; set; }

        public PasswordType Type { get; set; }

    }
    /// <summary>
    /// 密码类型枚举
    /// </summary>
    public enum PasswordType
    {
        一级密码 = 1,
        二级密码 = 2
    }

}
